<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<input type="button" value="点击" @click="doit('耶耶耶!','嘎嘎嘎')"/>
		</div>
		<script>
			var app =  new Vue({
				el:"#app",
				methods:{
					doit:function(a,b){
						console.log("哈哈哈")
						console.log(a)
						console.log(b)
					}
				}
			})
		</script>
	</body>
</html>
